xml = S(input)
attributes = xml.attrs()
names = xml.attrNames()
